matrix chain problem

welcome to shbcf.ru